package view;

import com.google.android.maps.OverlayItem;

import data.User;

public class PassByOverlayItem extends OverlayItem {

	protected String mImageURL;
	protected User user;
	
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public PassByOverlayItem(User user) {
		super(user.location, "", "");
		this.user = user;
		mImageURL = user.avatarUrl;
	}

	public String getImageURL() {
		return mImageURL;
	}

	public void setImageURL(String imageURL) {
		this.mImageURL = imageURL;
	}
}
